/**
 * 
 */
package org.vsg.stock.basic.service;

import java.util.List;

import javax.annotation.Resource;

import org.vsg.common.biz.exception.ServiceException;
import org.vsg.stock.basic.domain.StockPerformance;
import org.vsg.stock.basic.persistence.StockPerformanceDao;

/**
 * @author vison
 *
 */
public class StockPerformanceServiceImpl implements StockPerformanceService {
	
	@Resource
	private StockPerformanceDao stockPerformanceDao;
	

	/* (non-Javadoc)
	 * @see org.vsg.stock.basic.service.StockPerformanceService#findPerformanceByStockCode(java.lang.String)
	 */
	@Override
	public List<StockPerformance> findPerformanceByStockCode(String stockCode)
			throws ServiceException {
		// TODO Auto-generated method stub
		return stockPerformanceDao.getStockPerformanceByCode(stockCode);
	}

}
